<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]) . "/SmartTuition/SmartTuition.Model"; 
// including base class, EntityWithID
require_once("$root/Models/Base/EntityWithID.php");

class DoubleLesson extends EntityWithID
{
    private $number;
    private $startTime;
    private $endTime;

    function __construct($id, $number, $start_time, $end_time) {
        parent::__construct($id);
        $this->number = $number;
        $this->startTime = $start_time;
        $this->endTime = $end_time;
        $this->columns = "Number, StartTime, EndTime";
    }

    public function getNumber() {
        return $this->number;
    }

    public function getStartTime() {
        return $this->startTime;
    }

    public function getEndTime() {
        return $this->endTime;
    }

    public function getValues() {
        $str =  $this->number .  ",'" . $this->startTime .  "','" . $this->endTime . "'";
        return $str;
    }
}
